import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/styles/iconfont.css'
import '@/assets/styles/reset.css'
import '@/assets/styles/border.css'
import 'swiper/css/swiper.css'
import Gallary from '@/components/Gallary'
import Carsousel from '@/components/Carsouel'
import Fade from '@/components/fade'
// 引入MockServer.js----mock数据
import '@/mock/mockServe'
Vue.component('CarsouelSwiper', Carsousel)
// eslint-disable-next-line vue/multi-word-component-names
Vue.component('Gallary', Gallary)
// eslint-disable-next-line vue/multi-word-component-names
Vue.component('Fade', Fade)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this
  }
}).$mount('#app')
